\section{ectty.\+h File Reference}
\label{ectty_8h}\index{ectty.\+h@{ectty.\+h}}


Ether\+C\+AT virtual T\+TY interface.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ec\+\_\+tty\+\_\+operations\+\_\+t}
\begin{DoxyCompactList}\small\item\em Operations on the virtual T\+TY interface. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct ec\+\_\+tty \textbf{ ec\+\_\+tty\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ ec\+\_\+tty\+\_\+t} $\ast$ \textbf{ ectty\+\_\+create} (const \textbf{ ec\+\_\+tty\+\_\+operations\+\_\+t} $\ast$ops, void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Create a virtual T\+TY interface. \end{DoxyCompactList}\item 
void \textbf{ ectty\+\_\+free} (\textbf{ ec\+\_\+tty\+\_\+t} $\ast$tty)
\begin{DoxyCompactList}\small\item\em Releases a virtual T\+TY interface. \end{DoxyCompactList}\item 
unsigned int \textbf{ ectty\+\_\+tx\+\_\+data} (\textbf{ ec\+\_\+tty\+\_\+t} $\ast$tty, uint8\+\_\+t $\ast$buffer, size\+\_\+t size)
\begin{DoxyCompactList}\small\item\em Reads data to send from the T\+TY interface. \end{DoxyCompactList}\item 
void \textbf{ ectty\+\_\+rx\+\_\+data} (\textbf{ ec\+\_\+tty\+\_\+t} $\ast$tty, const uint8\+\_\+t $\ast$buffer, size\+\_\+t size)
\begin{DoxyCompactList}\small\item\em Pushes received data to the T\+TY interface. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT virtual T\+TY interface. 

